class Tool1(object):
    count = 0;
    @classmethod
    def show_tool_count(cls):
        print("工具对象数量 %d" %cls.count);
        


    def __init__(self,name):
        self.name = name;
        Tool1.count += 1;


    def print1(self):
        print("对象方法");